package com.rz.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.rz.core.common.model.PageEntity;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Rui.Zhou
 * @since 2018-07-12
 */
@TableName("sys_dict_data")
public class SysDictData extends PageEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String dictValue;
    private String dictdataName;
    private String dictdataValue;
    /**
     * 是否不允许更改（0.允许；1.不允许）
     */
    private Boolean isFixed;

    @TableField(exist = false)
    private String name;
    @TableField(exist = false)
    private String value;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDictValue() {
        return dictValue;
    }

    public void setDictValue(String dictValue) {
        this.dictValue = dictValue;
    }

    public String getDictdataName() {
        return dictdataName;
    }

    public void setDictdataName(String dictdataName) {
        this.dictdataName = dictdataName;
    }

    public String getDictdataValue() {
        return dictdataValue;
    }

    public void setDictdataValue(String dictdataValue) {
        this.dictdataValue = dictdataValue;
    }

    public Boolean getFixed() {
        return isFixed;
    }

    public void setFixed(Boolean isFixed) {
        this.isFixed = isFixed;
    }

    @Override
    public String toString() {
        return "SysDictData{" +
        ", id=" + id +
        ", dictValue=" + dictValue +
        ", dictdataName=" + dictdataName +
        ", dictdataValue=" + dictdataValue +
        ", isFixed=" + isFixed +
        "}";
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
